package com.chuangjiangx.member.basic.dao.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class InMbrConfigExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public InMbrConfigExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("imcon.id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("imcon.id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("imcon.id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("imcon.id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("imcon.id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("imcon.id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("imcon.id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("imcon.id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("imcon.id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("imcon.id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("imcon.id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("imcon.id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCustomRechargeIsNull() {
            addCriterion("imcon.custom_recharge is null");
            return (Criteria) this;
        }

        public Criteria andCustomRechargeIsNotNull() {
            addCriterion("imcon.custom_recharge is not null");
            return (Criteria) this;
        }

        public Criteria andCustomRechargeEqualTo(Byte value) {
            addCriterion("imcon.custom_recharge =", value, "customRecharge");
            return (Criteria) this;
        }

        public Criteria andCustomRechargeNotEqualTo(Byte value) {
            addCriterion("imcon.custom_recharge <>", value, "customRecharge");
            return (Criteria) this;
        }

        public Criteria andCustomRechargeGreaterThan(Byte value) {
            addCriterion("imcon.custom_recharge >", value, "customRecharge");
            return (Criteria) this;
        }

        public Criteria andCustomRechargeGreaterThanOrEqualTo(Byte value) {
            addCriterion("imcon.custom_recharge >=", value, "customRecharge");
            return (Criteria) this;
        }

        public Criteria andCustomRechargeLessThan(Byte value) {
            addCriterion("imcon.custom_recharge <", value, "customRecharge");
            return (Criteria) this;
        }

        public Criteria andCustomRechargeLessThanOrEqualTo(Byte value) {
            addCriterion("imcon.custom_recharge <=", value, "customRecharge");
            return (Criteria) this;
        }

        public Criteria andCustomRechargeIn(List<Byte> values) {
            addCriterion("imcon.custom_recharge in", values, "customRecharge");
            return (Criteria) this;
        }

        public Criteria andCustomRechargeNotIn(List<Byte> values) {
            addCriterion("imcon.custom_recharge not in", values, "customRecharge");
            return (Criteria) this;
        }

        public Criteria andCustomRechargeBetween(Byte value1, Byte value2) {
            addCriterion("imcon.custom_recharge between", value1, value2, "customRecharge");
            return (Criteria) this;
        }

        public Criteria andCustomRechargeNotBetween(Byte value1, Byte value2) {
            addCriterion("imcon.custom_recharge not between", value1, value2, "customRecharge");
            return (Criteria) this;
        }

        public Criteria andSubscribePnGiftScoreIsNull() {
            addCriterion("imcon.subscribe_pn_gift_score is null");
            return (Criteria) this;
        }

        public Criteria andSubscribePnGiftScoreIsNotNull() {
            addCriterion("imcon.subscribe_pn_gift_score is not null");
            return (Criteria) this;
        }

        public Criteria andSubscribePnGiftScoreEqualTo(Integer value) {
            addCriterion("imcon.subscribe_pn_gift_score =", value, "subscribePnGiftScore");
            return (Criteria) this;
        }

        public Criteria andSubscribePnGiftScoreNotEqualTo(Integer value) {
            addCriterion("imcon.subscribe_pn_gift_score <>", value, "subscribePnGiftScore");
            return (Criteria) this;
        }

        public Criteria andSubscribePnGiftScoreGreaterThan(Integer value) {
            addCriterion("imcon.subscribe_pn_gift_score >", value, "subscribePnGiftScore");
            return (Criteria) this;
        }

        public Criteria andSubscribePnGiftScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("imcon.subscribe_pn_gift_score >=", value, "subscribePnGiftScore");
            return (Criteria) this;
        }

        public Criteria andSubscribePnGiftScoreLessThan(Integer value) {
            addCriterion("imcon.subscribe_pn_gift_score <", value, "subscribePnGiftScore");
            return (Criteria) this;
        }

        public Criteria andSubscribePnGiftScoreLessThanOrEqualTo(Integer value) {
            addCriterion("imcon.subscribe_pn_gift_score <=", value, "subscribePnGiftScore");
            return (Criteria) this;
        }

        public Criteria andSubscribePnGiftScoreIn(List<Integer> values) {
            addCriterion("imcon.subscribe_pn_gift_score in", values, "subscribePnGiftScore");
            return (Criteria) this;
        }

        public Criteria andSubscribePnGiftScoreNotIn(List<Integer> values) {
            addCriterion("imcon.subscribe_pn_gift_score not in", values, "subscribePnGiftScore");
            return (Criteria) this;
        }

        public Criteria andSubscribePnGiftScoreBetween(Integer value1, Integer value2) {
            addCriterion("imcon.subscribe_pn_gift_score between", value1, value2, "subscribePnGiftScore");
            return (Criteria) this;
        }

        public Criteria andSubscribePnGiftScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("imcon.subscribe_pn_gift_score not between", value1, value2, "subscribePnGiftScore");
            return (Criteria) this;
        }

        public Criteria andCardConsumerGrantScoreIsNull() {
            addCriterion("imcon.card_consumer_grant_score is null");
            return (Criteria) this;
        }

        public Criteria andCardConsumerGrantScoreIsNotNull() {
            addCriterion("imcon.card_consumer_grant_score is not null");
            return (Criteria) this;
        }

        public Criteria andCardConsumerGrantScoreEqualTo(Integer value) {
            addCriterion("imcon.card_consumer_grant_score =", value, "cardConsumerGrantScore");
            return (Criteria) this;
        }

        public Criteria andCardConsumerGrantScoreNotEqualTo(Integer value) {
            addCriterion("imcon.card_consumer_grant_score <>", value, "cardConsumerGrantScore");
            return (Criteria) this;
        }

        public Criteria andCardConsumerGrantScoreGreaterThan(Integer value) {
            addCriterion("imcon.card_consumer_grant_score >", value, "cardConsumerGrantScore");
            return (Criteria) this;
        }

        public Criteria andCardConsumerGrantScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("imcon.card_consumer_grant_score >=", value, "cardConsumerGrantScore");
            return (Criteria) this;
        }

        public Criteria andCardConsumerGrantScoreLessThan(Integer value) {
            addCriterion("imcon.card_consumer_grant_score <", value, "cardConsumerGrantScore");
            return (Criteria) this;
        }

        public Criteria andCardConsumerGrantScoreLessThanOrEqualTo(Integer value) {
            addCriterion("imcon.card_consumer_grant_score <=", value, "cardConsumerGrantScore");
            return (Criteria) this;
        }

        public Criteria andCardConsumerGrantScoreIn(List<Integer> values) {
            addCriterion("imcon.card_consumer_grant_score in", values, "cardConsumerGrantScore");
            return (Criteria) this;
        }

        public Criteria andCardConsumerGrantScoreNotIn(List<Integer> values) {
            addCriterion("imcon.card_consumer_grant_score not in", values, "cardConsumerGrantScore");
            return (Criteria) this;
        }

        public Criteria andCardConsumerGrantScoreBetween(Integer value1, Integer value2) {
            addCriterion("imcon.card_consumer_grant_score between", value1, value2, "cardConsumerGrantScore");
            return (Criteria) this;
        }

        public Criteria andCardConsumerGrantScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("imcon.card_consumer_grant_score not between", value1, value2, "cardConsumerGrantScore");
            return (Criteria) this;
        }

        public Criteria andStoredFuncIsNull() {
            addCriterion("imcon.stored_func is null");
            return (Criteria) this;
        }

        public Criteria andStoredFuncIsNotNull() {
            addCriterion("imcon.stored_func is not null");
            return (Criteria) this;
        }

        public Criteria andStoredFuncEqualTo(Integer value) {
            addCriterion("imcon.stored_func =", value, "storedFunc");
            return (Criteria) this;
        }

        public Criteria andStoredFuncNotEqualTo(Integer value) {
            addCriterion("imcon.stored_func <>", value, "storedFunc");
            return (Criteria) this;
        }

        public Criteria andStoredFuncGreaterThan(Integer value) {
            addCriterion("imcon.stored_func >", value, "storedFunc");
            return (Criteria) this;
        }

        public Criteria andStoredFuncGreaterThanOrEqualTo(Integer value) {
            addCriterion("imcon.stored_func >=", value, "storedFunc");
            return (Criteria) this;
        }

        public Criteria andStoredFuncLessThan(Integer value) {
            addCriterion("imcon.stored_func <", value, "storedFunc");
            return (Criteria) this;
        }

        public Criteria andStoredFuncLessThanOrEqualTo(Integer value) {
            addCriterion("imcon.stored_func <=", value, "storedFunc");
            return (Criteria) this;
        }

        public Criteria andStoredFuncIn(List<Integer> values) {
            addCriterion("imcon.stored_func in", values, "storedFunc");
            return (Criteria) this;
        }

        public Criteria andStoredFuncNotIn(List<Integer> values) {
            addCriterion("imcon.stored_func not in", values, "storedFunc");
            return (Criteria) this;
        }

        public Criteria andStoredFuncBetween(Integer value1, Integer value2) {
            addCriterion("imcon.stored_func between", value1, value2, "storedFunc");
            return (Criteria) this;
        }

        public Criteria andStoredFuncNotBetween(Integer value1, Integer value2) {
            addCriterion("imcon.stored_func not between", value1, value2, "storedFunc");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("imcon.create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("imcon.create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("imcon.create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("imcon.create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("imcon.create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("imcon.create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("imcon.create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("imcon.create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("imcon.create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("imcon.create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("imcon.create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("imcon.create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("imcon.update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("imcon.update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("imcon.update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("imcon.update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("imcon.update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("imcon.update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("imcon.update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("imcon.update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("imcon.update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("imcon.update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("imcon.update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("imcon.update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIsNull() {
            addCriterion("imcon.merchant_id is null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIsNotNull() {
            addCriterion("imcon.merchant_id is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdEqualTo(Long value) {
            addCriterion("imcon.merchant_id =", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotEqualTo(Long value) {
            addCriterion("imcon.merchant_id <>", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThan(Long value) {
            addCriterion("imcon.merchant_id >", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThanOrEqualTo(Long value) {
            addCriterion("imcon.merchant_id >=", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThan(Long value) {
            addCriterion("imcon.merchant_id <", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThanOrEqualTo(Long value) {
            addCriterion("imcon.merchant_id <=", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIn(List<Long> values) {
            addCriterion("imcon.merchant_id in", values, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotIn(List<Long> values) {
            addCriterion("imcon.merchant_id not in", values, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdBetween(Long value1, Long value2) {
            addCriterion("imcon.merchant_id between", value1, value2, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotBetween(Long value1, Long value2) {
            addCriterion("imcon.merchant_id not between", value1, value2, "merchantId");
            return (Criteria) this;
        }

        public Criteria andCardCoverChoiceIsNull() {
            addCriterion("imcon.card_cover_choice is null");
            return (Criteria) this;
        }

        public Criteria andCardCoverChoiceIsNotNull() {
            addCriterion("imcon.card_cover_choice is not null");
            return (Criteria) this;
        }

        public Criteria andCardCoverChoiceEqualTo(Integer value) {
            addCriterion("imcon.card_cover_choice =", value, "cardCoverChoice");
            return (Criteria) this;
        }

        public Criteria andCardCoverChoiceNotEqualTo(Integer value) {
            addCriterion("imcon.card_cover_choice <>", value, "cardCoverChoice");
            return (Criteria) this;
        }

        public Criteria andCardCoverChoiceGreaterThan(Integer value) {
            addCriterion("imcon.card_cover_choice >", value, "cardCoverChoice");
            return (Criteria) this;
        }

        public Criteria andCardCoverChoiceGreaterThanOrEqualTo(Integer value) {
            addCriterion("imcon.card_cover_choice >=", value, "cardCoverChoice");
            return (Criteria) this;
        }

        public Criteria andCardCoverChoiceLessThan(Integer value) {
            addCriterion("imcon.card_cover_choice <", value, "cardCoverChoice");
            return (Criteria) this;
        }

        public Criteria andCardCoverChoiceLessThanOrEqualTo(Integer value) {
            addCriterion("imcon.card_cover_choice <=", value, "cardCoverChoice");
            return (Criteria) this;
        }

        public Criteria andCardCoverChoiceIn(List<Integer> values) {
            addCriterion("imcon.card_cover_choice in", values, "cardCoverChoice");
            return (Criteria) this;
        }

        public Criteria andCardCoverChoiceNotIn(List<Integer> values) {
            addCriterion("imcon.card_cover_choice not in", values, "cardCoverChoice");
            return (Criteria) this;
        }

        public Criteria andCardCoverChoiceBetween(Integer value1, Integer value2) {
            addCriterion("imcon.card_cover_choice between", value1, value2, "cardCoverChoice");
            return (Criteria) this;
        }

        public Criteria andCardCoverChoiceNotBetween(Integer value1, Integer value2) {
            addCriterion("imcon.card_cover_choice not between", value1, value2, "cardCoverChoice");
            return (Criteria) this;
        }

        public Criteria andCardColourIsNull() {
            addCriterion("imcon.card_colour is null");
            return (Criteria) this;
        }

        public Criteria andCardColourIsNotNull() {
            addCriterion("imcon.card_colour is not null");
            return (Criteria) this;
        }

        public Criteria andCardColourEqualTo(String value) {
            addCriterion("imcon.card_colour =", value, "cardColour");
            return (Criteria) this;
        }

        public Criteria andCardColourNotEqualTo(String value) {
            addCriterion("imcon.card_colour <>", value, "cardColour");
            return (Criteria) this;
        }

        public Criteria andCardColourGreaterThan(String value) {
            addCriterion("imcon.card_colour >", value, "cardColour");
            return (Criteria) this;
        }

        public Criteria andCardColourGreaterThanOrEqualTo(String value) {
            addCriterion("imcon.card_colour >=", value, "cardColour");
            return (Criteria) this;
        }

        public Criteria andCardColourLessThan(String value) {
            addCriterion("imcon.card_colour <", value, "cardColour");
            return (Criteria) this;
        }

        public Criteria andCardColourLessThanOrEqualTo(String value) {
            addCriterion("imcon.card_colour <=", value, "cardColour");
            return (Criteria) this;
        }

        public Criteria andCardColourLike(String value) {
            addCriterion("imcon.card_colour like", value, "cardColour");
            return (Criteria) this;
        }

        public Criteria andCardColourNotLike(String value) {
            addCriterion("imcon.card_colour not like", value, "cardColour");
            return (Criteria) this;
        }

        public Criteria andCardColourIn(List<String> values) {
            addCriterion("imcon.card_colour in", values, "cardColour");
            return (Criteria) this;
        }

        public Criteria andCardColourNotIn(List<String> values) {
            addCriterion("imcon.card_colour not in", values, "cardColour");
            return (Criteria) this;
        }

        public Criteria andCardColourBetween(String value1, String value2) {
            addCriterion("imcon.card_colour between", value1, value2, "cardColour");
            return (Criteria) this;
        }

        public Criteria andCardColourNotBetween(String value1, String value2) {
            addCriterion("imcon.card_colour not between", value1, value2, "cardColour");
            return (Criteria) this;
        }

        public Criteria andCardPictureIsNull() {
            addCriterion("imcon.card_picture is null");
            return (Criteria) this;
        }

        public Criteria andCardPictureIsNotNull() {
            addCriterion("imcon.card_picture is not null");
            return (Criteria) this;
        }

        public Criteria andCardPictureEqualTo(String value) {
            addCriterion("imcon.card_picture =", value, "cardPicture");
            return (Criteria) this;
        }

        public Criteria andCardPictureNotEqualTo(String value) {
            addCriterion("imcon.card_picture <>", value, "cardPicture");
            return (Criteria) this;
        }

        public Criteria andCardPictureGreaterThan(String value) {
            addCriterion("imcon.card_picture >", value, "cardPicture");
            return (Criteria) this;
        }

        public Criteria andCardPictureGreaterThanOrEqualTo(String value) {
            addCriterion("imcon.card_picture >=", value, "cardPicture");
            return (Criteria) this;
        }

        public Criteria andCardPictureLessThan(String value) {
            addCriterion("imcon.card_picture <", value, "cardPicture");
            return (Criteria) this;
        }

        public Criteria andCardPictureLessThanOrEqualTo(String value) {
            addCriterion("imcon.card_picture <=", value, "cardPicture");
            return (Criteria) this;
        }

        public Criteria andCardPictureLike(String value) {
            addCriterion("imcon.card_picture like", value, "cardPicture");
            return (Criteria) this;
        }

        public Criteria andCardPictureNotLike(String value) {
            addCriterion("imcon.card_picture not like", value, "cardPicture");
            return (Criteria) this;
        }

        public Criteria andCardPictureIn(List<String> values) {
            addCriterion("imcon.card_picture in", values, "cardPicture");
            return (Criteria) this;
        }

        public Criteria andCardPictureNotIn(List<String> values) {
            addCriterion("imcon.card_picture not in", values, "cardPicture");
            return (Criteria) this;
        }

        public Criteria andCardPictureBetween(String value1, String value2) {
            addCriterion("imcon.card_picture between", value1, value2, "cardPicture");
            return (Criteria) this;
        }

        public Criteria andCardPictureNotBetween(String value1, String value2) {
            addCriterion("imcon.card_picture not between", value1, value2, "cardPicture");
            return (Criteria) this;
        }

        public Criteria andCardNameIsNull() {
            addCriterion("imcon.card_name is null");
            return (Criteria) this;
        }

        public Criteria andCardNameIsNotNull() {
            addCriterion("imcon.card_name is not null");
            return (Criteria) this;
        }

        public Criteria andCardNameEqualTo(String value) {
            addCriterion("imcon.card_name =", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameNotEqualTo(String value) {
            addCriterion("imcon.card_name <>", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameGreaterThan(String value) {
            addCriterion("imcon.card_name >", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameGreaterThanOrEqualTo(String value) {
            addCriterion("imcon.card_name >=", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameLessThan(String value) {
            addCriterion("imcon.card_name <", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameLessThanOrEqualTo(String value) {
            addCriterion("imcon.card_name <=", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameLike(String value) {
            addCriterion("imcon.card_name like", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameNotLike(String value) {
            addCriterion("imcon.card_name not like", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameIn(List<String> values) {
            addCriterion("imcon.card_name in", values, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameNotIn(List<String> values) {
            addCriterion("imcon.card_name not in", values, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameBetween(String value1, String value2) {
            addCriterion("imcon.card_name between", value1, value2, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameNotBetween(String value1, String value2) {
            addCriterion("imcon.card_name not between", value1, value2, "cardName");
            return (Criteria) this;
        }

        public Criteria andContactNumberIsNull() {
            addCriterion("imcon.contact_number is null");
            return (Criteria) this;
        }

        public Criteria andContactNumberIsNotNull() {
            addCriterion("imcon.contact_number is not null");
            return (Criteria) this;
        }

        public Criteria andContactNumberEqualTo(String value) {
            addCriterion("imcon.contact_number =", value, "contactNumber");
            return (Criteria) this;
        }

        public Criteria andContactNumberNotEqualTo(String value) {
            addCriterion("imcon.contact_number <>", value, "contactNumber");
            return (Criteria) this;
        }

        public Criteria andContactNumberGreaterThan(String value) {
            addCriterion("imcon.contact_number >", value, "contactNumber");
            return (Criteria) this;
        }

        public Criteria andContactNumberGreaterThanOrEqualTo(String value) {
            addCriterion("imcon.contact_number >=", value, "contactNumber");
            return (Criteria) this;
        }

        public Criteria andContactNumberLessThan(String value) {
            addCriterion("imcon.contact_number <", value, "contactNumber");
            return (Criteria) this;
        }

        public Criteria andContactNumberLessThanOrEqualTo(String value) {
            addCriterion("imcon.contact_number <=", value, "contactNumber");
            return (Criteria) this;
        }

        public Criteria andContactNumberLike(String value) {
            addCriterion("imcon.contact_number like", value, "contactNumber");
            return (Criteria) this;
        }

        public Criteria andContactNumberNotLike(String value) {
            addCriterion("imcon.contact_number not like", value, "contactNumber");
            return (Criteria) this;
        }

        public Criteria andContactNumberIn(List<String> values) {
            addCriterion("imcon.contact_number in", values, "contactNumber");
            return (Criteria) this;
        }

        public Criteria andContactNumberNotIn(List<String> values) {
            addCriterion("imcon.contact_number not in", values, "contactNumber");
            return (Criteria) this;
        }

        public Criteria andContactNumberBetween(String value1, String value2) {
            addCriterion("imcon.contact_number between", value1, value2, "contactNumber");
            return (Criteria) this;
        }

        public Criteria andContactNumberNotBetween(String value1, String value2) {
            addCriterion("imcon.contact_number not between", value1, value2, "contactNumber");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainIsNull() {
            addCriterion("imcon.card_privilege_explain is null");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainIsNotNull() {
            addCriterion("imcon.card_privilege_explain is not null");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainEqualTo(String value) {
            addCriterion("imcon.card_privilege_explain =", value, "cardPrivilegeExplain");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainNotEqualTo(String value) {
            addCriterion("imcon.card_privilege_explain <>", value, "cardPrivilegeExplain");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainGreaterThan(String value) {
            addCriterion("imcon.card_privilege_explain >", value, "cardPrivilegeExplain");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainGreaterThanOrEqualTo(String value) {
            addCriterion("imcon.card_privilege_explain >=", value, "cardPrivilegeExplain");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainLessThan(String value) {
            addCriterion("imcon.card_privilege_explain <", value, "cardPrivilegeExplain");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainLessThanOrEqualTo(String value) {
            addCriterion("imcon.card_privilege_explain <=", value, "cardPrivilegeExplain");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainLike(String value) {
            addCriterion("imcon.card_privilege_explain like", value, "cardPrivilegeExplain");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainNotLike(String value) {
            addCriterion("imcon.card_privilege_explain not like", value, "cardPrivilegeExplain");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainIn(List<String> values) {
            addCriterion("imcon.card_privilege_explain in", values, "cardPrivilegeExplain");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainNotIn(List<String> values) {
            addCriterion("imcon.card_privilege_explain not in", values, "cardPrivilegeExplain");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainBetween(String value1, String value2) {
            addCriterion("imcon.card_privilege_explain between", value1, value2, "cardPrivilegeExplain");
            return (Criteria) this;
        }

        public Criteria andCardPrivilegeExplainNotBetween(String value1, String value2) {
            addCriterion("imcon.card_privilege_explain not between", value1, value2, "cardPrivilegeExplain");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeIsNull() {
            addCriterion("imcon.card_use_notice is null");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeIsNotNull() {
            addCriterion("imcon.card_use_notice is not null");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeEqualTo(String value) {
            addCriterion("imcon.card_use_notice =", value, "cardUseNotice");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeNotEqualTo(String value) {
            addCriterion("imcon.card_use_notice <>", value, "cardUseNotice");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeGreaterThan(String value) {
            addCriterion("imcon.card_use_notice >", value, "cardUseNotice");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeGreaterThanOrEqualTo(String value) {
            addCriterion("imcon.card_use_notice >=", value, "cardUseNotice");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeLessThan(String value) {
            addCriterion("imcon.card_use_notice <", value, "cardUseNotice");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeLessThanOrEqualTo(String value) {
            addCriterion("imcon.card_use_notice <=", value, "cardUseNotice");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeLike(String value) {
            addCriterion("imcon.card_use_notice like", value, "cardUseNotice");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeNotLike(String value) {
            addCriterion("imcon.card_use_notice not like", value, "cardUseNotice");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeIn(List<String> values) {
            addCriterion("imcon.card_use_notice in", values, "cardUseNotice");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeNotIn(List<String> values) {
            addCriterion("imcon.card_use_notice not in", values, "cardUseNotice");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeBetween(String value1, String value2) {
            addCriterion("imcon.card_use_notice between", value1, value2, "cardUseNotice");
            return (Criteria) this;
        }

        public Criteria andCardUseNoticeNotBetween(String value1, String value2) {
            addCriterion("imcon.card_use_notice not between", value1, value2, "cardUseNotice");
            return (Criteria) this;
        }

        public Criteria andGiftScoreIsNull() {
            addCriterion("imcon.gift_score is null");
            return (Criteria) this;
        }

        public Criteria andGiftScoreIsNotNull() {
            addCriterion("imcon.gift_score is not null");
            return (Criteria) this;
        }

        public Criteria andGiftScoreEqualTo(BigDecimal value) {
            addCriterion("imcon.gift_score =", value, "giftScore");
            return (Criteria) this;
        }

        public Criteria andGiftScoreNotEqualTo(BigDecimal value) {
            addCriterion("imcon.gift_score <>", value, "giftScore");
            return (Criteria) this;
        }

        public Criteria andGiftScoreGreaterThan(BigDecimal value) {
            addCriterion("imcon.gift_score >", value, "giftScore");
            return (Criteria) this;
        }

        public Criteria andGiftScoreGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("imcon.gift_score >=", value, "giftScore");
            return (Criteria) this;
        }

        public Criteria andGiftScoreLessThan(BigDecimal value) {
            addCriterion("imcon.gift_score <", value, "giftScore");
            return (Criteria) this;
        }

        public Criteria andGiftScoreLessThanOrEqualTo(BigDecimal value) {
            addCriterion("imcon.gift_score <=", value, "giftScore");
            return (Criteria) this;
        }

        public Criteria andGiftScoreIn(List<BigDecimal> values) {
            addCriterion("imcon.gift_score in", values, "giftScore");
            return (Criteria) this;
        }

        public Criteria andGiftScoreNotIn(List<BigDecimal> values) {
            addCriterion("imcon.gift_score not in", values, "giftScore");
            return (Criteria) this;
        }

        public Criteria andGiftScoreBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("imcon.gift_score between", value1, value2, "giftScore");
            return (Criteria) this;
        }

        public Criteria andGiftScoreNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("imcon.gift_score not between", value1, value2, "giftScore");
            return (Criteria) this;
        }

        public Criteria andGiftMbrCouponIdIsNull() {
            addCriterion("imcon.gift_mbr_coupon_id is null");
            return (Criteria) this;
        }

        public Criteria andGiftMbrCouponIdIsNotNull() {
            addCriterion("imcon.gift_mbr_coupon_id is not null");
            return (Criteria) this;
        }

        public Criteria andGiftMbrCouponIdEqualTo(Long value) {
            addCriterion("imcon.gift_mbr_coupon_id =", value, "giftMbrCouponId");
            return (Criteria) this;
        }

        public Criteria andGiftMbrCouponIdNotEqualTo(Long value) {
            addCriterion("imcon.gift_mbr_coupon_id <>", value, "giftMbrCouponId");
            return (Criteria) this;
        }

        public Criteria andGiftMbrCouponIdGreaterThan(Long value) {
            addCriterion("imcon.gift_mbr_coupon_id >", value, "giftMbrCouponId");
            return (Criteria) this;
        }

        public Criteria andGiftMbrCouponIdGreaterThanOrEqualTo(Long value) {
            addCriterion("imcon.gift_mbr_coupon_id >=", value, "giftMbrCouponId");
            return (Criteria) this;
        }

        public Criteria andGiftMbrCouponIdLessThan(Long value) {
            addCriterion("imcon.gift_mbr_coupon_id <", value, "giftMbrCouponId");
            return (Criteria) this;
        }

        public Criteria andGiftMbrCouponIdLessThanOrEqualTo(Long value) {
            addCriterion("imcon.gift_mbr_coupon_id <=", value, "giftMbrCouponId");
            return (Criteria) this;
        }

        public Criteria andGiftMbrCouponIdIn(List<Long> values) {
            addCriterion("imcon.gift_mbr_coupon_id in", values, "giftMbrCouponId");
            return (Criteria) this;
        }

        public Criteria andGiftMbrCouponIdNotIn(List<Long> values) {
            addCriterion("imcon.gift_mbr_coupon_id not in", values, "giftMbrCouponId");
            return (Criteria) this;
        }

        public Criteria andGiftMbrCouponIdBetween(Long value1, Long value2) {
            addCriterion("imcon.gift_mbr_coupon_id between", value1, value2, "giftMbrCouponId");
            return (Criteria) this;
        }

        public Criteria andGiftMbrCouponIdNotBetween(Long value1, Long value2) {
            addCriterion("imcon.gift_mbr_coupon_id not between", value1, value2, "giftMbrCouponId");
            return (Criteria) this;
        }

        public Criteria andWxSyncSwitchIsNull() {
            addCriterion("imcon.wx_sync_switch is null");
            return (Criteria) this;
        }

        public Criteria andWxSyncSwitchIsNotNull() {
            addCriterion("imcon.wx_sync_switch is not null");
            return (Criteria) this;
        }

        public Criteria andWxSyncSwitchEqualTo(Integer value) {
            addCriterion("imcon.wx_sync_switch =", value, "wxSyncSwitch");
            return (Criteria) this;
        }

        public Criteria andWxSyncSwitchNotEqualTo(Integer value) {
            addCriterion("imcon.wx_sync_switch <>", value, "wxSyncSwitch");
            return (Criteria) this;
        }

        public Criteria andWxSyncSwitchGreaterThan(Integer value) {
            addCriterion("imcon.wx_sync_switch >", value, "wxSyncSwitch");
            return (Criteria) this;
        }

        public Criteria andWxSyncSwitchGreaterThanOrEqualTo(Integer value) {
            addCriterion("imcon.wx_sync_switch >=", value, "wxSyncSwitch");
            return (Criteria) this;
        }

        public Criteria andWxSyncSwitchLessThan(Integer value) {
            addCriterion("imcon.wx_sync_switch <", value, "wxSyncSwitch");
            return (Criteria) this;
        }

        public Criteria andWxSyncSwitchLessThanOrEqualTo(Integer value) {
            addCriterion("imcon.wx_sync_switch <=", value, "wxSyncSwitch");
            return (Criteria) this;
        }

        public Criteria andWxSyncSwitchIn(List<Integer> values) {
            addCriterion("imcon.wx_sync_switch in", values, "wxSyncSwitch");
            return (Criteria) this;
        }

        public Criteria andWxSyncSwitchNotIn(List<Integer> values) {
            addCriterion("imcon.wx_sync_switch not in", values, "wxSyncSwitch");
            return (Criteria) this;
        }

        public Criteria andWxSyncSwitchBetween(Integer value1, Integer value2) {
            addCriterion("imcon.wx_sync_switch between", value1, value2, "wxSyncSwitch");
            return (Criteria) this;
        }

        public Criteria andWxSyncSwitchNotBetween(Integer value1, Integer value2) {
            addCriterion("imcon.wx_sync_switch not between", value1, value2, "wxSyncSwitch");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}